package com.fs.flow.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import org.hibernate.annotations.GenericGenerator;

import com.fs.base.annotation.ColumnDesc;

/**
 * @author Administrator
 *
 */
@Entity
@Table(name="p_flow_condition")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class FlowCondition{
	@Id @Setter@Getter
	@GeneratedValue(generator = "uuid")
	@GenericGenerator(name = "uuid", strategy = "uuid")
	@Column(name="id", columnDefinition="varchar(48) COMMENT '主键'")
	@ColumnDesc(name="主键") 
	public String id;
	
	private String processKey;
	private String taskId;
	private String express;
	private String sequenceFlowId;
}
